<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/30
 * Time: 10:56
 */

namespace app\entity;

use yii\db\ActiveRecord;
/**
 * table  sys_menu
 * Class SysMenu
 * @package fhyx\entity
 */
class SysMenuEntity extends ActiveRecord
{



    /**
     * @return mixed
     */
    public function getOrderNum()
    {
        return $this->order_num;
    }

    /**
     * @param mixed $order_num
     */
    public function setOrderNum($order_num)
    {
        $this->order_num = $order_num;
    }

    /**
     * @return mixed
     */
    public function getParentId()
    {
        return $this->parent_id;
    }

    /**
     * @param mixed $parent_id
     */
    public function setParentId($parent_id)
    {
        $this->parent_id = $parent_id;
    }




    /**
     * @return int
     */
    public function getMenuId()
    {
        return $this->menuId;
    }

    /**
     * @param int $menu_id
     */
    public function setMenuId($menu_id)
    {
        $this->menuId = $menu_id;
    }


    /**
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * @return String
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * @param String $url
     */
    public function setUrl($url)
    {
        $this->url = $url;
    }

    /**
     * @return String
     */
    public function getPerms()
    {
        return $this->perms;
    }

    /**
     * @param String $perms
     */
    public function setPerms($perms)
    {
        $this->perms = $perms;
    }

    /**
     * @return int
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * @param int $type
     */
    public function setType($type)
    {
        $this->type = $type;
    }

    /**
     * @return string
     */
    public function getIcon()
    {
        return $this->icon;
    }

    /**
     * @param string $icon
     */
    public function setIcon($icon)
    {
        $this->icon = $icon;
    }



    public static function tableName()
    {
        return "sys_menu";
    }

}
